//1.创建pinia实例
import { createPinia } from 'pinia'
import persistedstate from 'pinia-plugin-persistedstate'
const pinia = createPinia()
//2.使用pinia插件
pinia.use(persistedstate)

// import { useUserStore } from '@/stores/modules/user'
// export { useUserStore } from '@/stores/modules/user'
export * from './modules/user'
export * from './modules/consult'

export default pinia
